package com.liangsui.mss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liangsui.mss.domain.Registration;
import com.liangsui.mss.dto.RegistrationDto;
import com.liangsui.mss.vo.DataGridView;

import java.util.List;

/**
* @author zhang
* @description 针对表【his_registration】的数据库操作Service
* @createDate 2022-12-06 22:36:39
*/
public interface RegistrationService extends IService<Registration> {

    DataGridView queryRegistrationForPage(RegistrationDto registrationDto);

    void addRegistration(RegistrationDto registrationDto);

    Registration queryRegistrationByRegId(String regId);

    int updateRegistrationById(Registration registration);

    List<Registration> queryRegistration(Long deptId, String subsectionType, String scheudlingType, String regStatus, Long userId);

    List<Registration> getRegistrationsByPatientId(String patientId);
}
